package com.hmall.item.listener;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.core.StringRedisTemplate;

/**
 * @Description RabbitConfig
 * @Author GGBond
 * @Date 2024-11-15
 */
@Configuration
public class SpringRabbitListener {

    @Autowired
    private StringRedisTemplate redisTemplate;


/*    *//**
     * 路由模型-缓存
     * @param status
     *//*
    @RabbitListener(bindings = @QueueBinding(value = @Queue(name = "cache.queue"),
    exchange = @Exchange(name = "hmmall.fanout",type = ExchangeTypes.FANOUT)))
    public void cacheListener(String status){

    }*/
}
